
function writeFlashObject(objectID, movie, width, height, bgcolor) {
	document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='"+width+"' height='"+height+"'");
	if(objectID) {
		document.write(" id='"+objectID+"' name='"+objectID+"'");
	}
	document.writeln(">");
	document.writeln("   <param name='movie' value='"+movie+"'>");
	document.writeln("   <param name='quality' value='high'>");
	document.writeln("   <param name='bgcolor' value='"+(bgcolor ? bgcolor : "#FFFFFF")+"'>");
	document.writeln("   <param name='bgcolor' value='#000000'>");
	document.writeln("   <embed src='"+movie+"' quality='high' bgcolor='"+(bgcolor ? bgcolor : "#FFFFFF")+"' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='"+width+"' height='"+height+"'></embed>");
	document.writeln("</object>");
}

